import Vue from 'vue'
import VueRouter from 'vue-router'
import App from './App.vue'
import VueResource from 'vue-resource'

import router from './router.js'


import './css/normalize.css'
import './css/index.css'
import 'bootstrap/dist/css/bootstrap.css'

import { Header, Swipe, SwipeItem, Tabbar, TabItem, Button } from 'mint-ui'
Vue.component(Header.name,Header)
Vue.component(Swipe.name, Swipe)
Vue.component(SwipeItem.name, SwipeItem)
Vue.component(Tabbar.name, Tabbar)
Vue.component(TabItem.name, TabItem)
Vue.component(Button.name, Button);

Vue.use(VueRouter)
Vue.use(VueResource)
Vue.http.options.root = 'http://localhost:5000'

const vm = new Vue({
  el: '#app',
  data: {},
  methods: {},
  render: c => c(App),
  router
})